package cn.tedu.submarine;

import javax.swing.*;
import java.util.Random;

/*
侦查潜艇
 */
public class ObserveSubmarine extends SeaObject implements EnemyScore{
    ObserveSubmarine() {
        super(63,19);
    }

    /*重写Move移动*/
    public void move() {//重写抽象方法---变不完整为完整
        x += speed;
    }

    public ImageIcon getImage(){
        return Images.obsersubm;
    }
    public int getScore(){
        return 10;
    }

}
